﻿namespace Wips.Infrastructure.Model
{
    public class BackupRequest : BaseRequestModel
    {
        public BackupRequest(string? key, string? userId) : base(key, userId)
        {
        }

        /// <summary>
        /// 主键
        /// </summary>
        public string Id { get; set; } = "";

        /// <summary>
        /// 服务名称
        /// </summary>
        public string ServerName { get; set; } = "";


        /// <summary>
        /// 根目录
        /// </summary>
        public string RootPath { get; set; } = "";

        /// <summary>
        /// 需要备份的paths
        /// </summary>
        public List<string> Paths { get; set; } = new List<string>();
    }
}
